Package com.cisco.pt.ipc.events
Class NATProcessEventRegistry
java.lang.Object
com.cisco.pt.ipc.events.IPCEventRegistry
com.cisco.pt.ipc.events.NATProcessEventRegistry
An event for the IPC's NATProcessEventRegistry values
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<NATProcessEventListener>protected Map<String,Set<NATProcessEventListener>> Fields inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
session, WILDCARD_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(NATProcessEventListener listener) voidaddListener(NATProcessEventListener listener, NATProcess objClass) voidaddListenerFiltered(NATProcessEventListener listener, List<String> events) voidaddSpecificListenerFiltered(NATProcessEventListener listener, NATProcess objClass, List<String> events) voidprocessEvent(IPCEventLTV event) voidremoveListener(NATProcessEventListener listener) voidremoveListener(NATProcessEventListener listener, NATProcess objClass) voidremoveListenerFiltered(NATProcessEventListener listener, List<String> events) voidremoveSpecificListenerFiltered(NATProcessEventListener listener, NATProcess objClass, List<String> events) Methods inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
deregister, deregister, register, register
-
Field Details
-
globalListeners
-
specificObjectListeners
-
-
Constructor Details
-
NATProcessEventRegistry
-
-
Method Details
-
getClassName
- Specified by:
getClassNamein classIPCEventRegistry
-
processEvent
- Specified by:
processEventin classIPCEventRegistry- Throws:
Exception
-
addListenerFiltered
public void addListenerFiltered(NATProcessEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
addSpecificListenerFiltered
public void addSpecificListenerFiltered(NATProcessEventListener listener, NATProcess objClass, List<String> events) throws IOException - Throws:
IOException
-
removeListenerFiltered
public void removeListenerFiltered(NATProcessEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
removeSpecificListenerFiltered
public void removeSpecificListenerFiltered(NATProcessEventListener listener, NATProcess objClass, List<String> events) throws IOException - Throws:
IOException
-
addListener
- Throws:
IOException
-
addListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-
removeListener
public void removeListener(NATProcessEventListener listener, NATProcess objClass) throws IOException - Throws:
IOException
-